<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>系统资金列表</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="/resources/css/base.css" rel="stylesheet"
	type="text/css" />
<link href="/resources/js/miniui/themes/default/miniui.css"
	rel="stylesheet" type="text/css" />
<script src="/resources/js/jquery-1.6.2.min.js"
	type="text/javascript"></script>
<script src="/resources/js/miniui/miniui.js"
	type="text/javascript"></script>
<script src="/resources/js/ckeditor/ckeditor.js"
	type="text/javascript"></script>
<script src="/resources/js/statusUtil.js" type="text/javascript"></script>
<script src="/resources/js/wbkDate.js" type="text/javascript"></script>
<style type="text/css">
.errorText {
	color: red;
}
.td1 {
	width: 20%;
	text-align: right;
}

.td2 {
	width: 30%;
	text-align: left;
}

.td3 {
	width: 12%;
	text-align: right;
}

.td4 {
	width: 38%;
	text-align: left;
}
</style>
</head>
<body>
	<h1>系统资金列表</h1>
	<div style="padding-top: 5px; padding-bottom: 5px; width: 95%;">
		<span>操作：</span><input id="search_type_info" class="mini-combobox" valueField="data" textField="data"
						valueFromSelect="true" url="/sysbill/getTypeInfoJson" />
		<span>类型：</span><input id="search_type" class="mini-combobox" valueField="data" textField="data"
						valueFromSelect="true" url="/sysbill/getTypeJson" />
		<input type="button" value="查找" onclick="search()" />
	</div>
	<div id="mini-datagrid" class="mini-datagrid"
		style="width: 95%; height: 400px;"
		url="/sysbill/selectByPage" pageSize="20" idField="id"
		allowResize="true">

		<div property="columns">
			<div type="indexcolumn">序号</div>
			<div type="checkcolumn">选择</div>
			<div field="code">第三方流水号</div>
			<div field="type">类型</div>
			<div field="typeInfo">操作</div>
			<div field="money">金额（元）</div>
			<div field="remark">备注</div>
			<div field="createTime" renderer="tipTimeRen">发布时间</div>
		</div>
	</div>
	
</body>
<script type="text/javascript">
	mini.parse();
	var datagrid = mini.get("mini-datagrid");
	datagrid.load();
	
	CKEDITOR.replace('content');
	
	function search(){
		datagrid.load({type : mini.get("#search_type").getValue(),
				typeInfo : mini.get("#search_type_info").getValue()});
	}

</script>

</html>
